package com.rightsidetech.system.mapper;

import com.rightsidetech.system.entity.SysRoleAccount;
import org.apache.ibatis.annotations.Param;

public interface SysRoleAccountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysRoleAccount record);

    int insertSelective(SysRoleAccount record);

    SysRoleAccount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRoleAccount record);

    int updateByPrimaryKey(SysRoleAccount record);

    SysRoleAccount selectByloginInfoId(@Param("loginInfoId") Long loginInfoId) throws Exception;

    int selectByRoleId(Long roleId);

    int deleteByLoginId(Long id);
}